package com.ycxh.plugin;

import java.util.ArrayList;
import java.util.Collection;

public class PageList<E> extends ArrayList<E> {

    private int curPage;
    private int pageRow;
    private int total;

    public PageList(Collection<E> c, int curPage, int pageRow, int total) {
        super(c);
        this.curPage = curPage;
        this.pageRow = pageRow;
        this.total = total;
    }

    public int getCurPage() {
        return curPage;
    }

    public void setCurPage(int curPage) {
        this.curPage = curPage;
    }

    public int getPageRow() {
        return pageRow;
    }

    public void setPageRow(int pageRow) {
        this.pageRow = pageRow;
    }

    public int getTotal() {
        return total;
    }

    public void setTotal(int total) {
        this.total = total;
    }

}
